using System;
using System.Collections.Generic;

/// <summary>
/// This class encapsulates all the data within an RSS file.  It contains the RSS feed's title, link and description.
/// It also contains a list of RssItems that represent each item in the RSS feed.
/// </summary>
public class RssFeed
{
    private string _title;
    private string _link;
    private string _description;
    private List<RssItem> _items;

    public string Title
    {
        get { return _title; }
        set { _title = value; }
    }
    public string Link 
    {
        get { return _link; }
        set { _link = value; }
    }
    public string Description
    {
        get { return _description; }
        set { _description = value; }
    }
    public List<RssItem> Items
    {
        get { return _items; }
    }

    public RssFeed(string title, string link, string description)
    {
        _title = title;
        _link = link;
        _description = description;
        _items = new List<RssItem>();
    }
}
